﻿using UnityEngine;
using System.Collections;
using System;

/// <summary>
/// 地图限度实体
/// </summary>
[Serializable]
public class MapLine:MapObject {
    /// <summary>
    /// 实心线
    /// </summary>
    public static readonly int SOLID_LINE = 1;

    /// <summary>
    /// 虚线
    /// </summary>
    public static readonly int DOTTE_LINE = 2;

    /// <summary>
    /// 头部点
    /// </summary>
    private MapPoint headPoint;

    /// <summary>
    /// 尾部点
    /// </summary>
    private MapPoint bottomPoint;

    /// <summary>
    /// 线段颜色
    /// </summary>
    private long lineColor;

    /// <summary>
    /// 线的宽度
    /// </summary>
    private int lineWidth;

    /// <summary>
    /// 线段样式
    /// </summary>
    private int lineStyle;

    public MapPoint HeadPoint
    {
        get
        {
            return headPoint;
        }

        set
        {
            headPoint = value;
        }
    }

    public MapPoint BottomPoint
    {
        get
        {
            return bottomPoint;
        }

        set
        {
            bottomPoint = value;
        }
    }

    public long LineColor
    {
        get
        {
            return lineColor;
        }

        set
        {
            lineColor = value;
        }
    }

    public int LineWidth
    {
        get
        {
            return lineWidth;
        }

        set
        {
            lineWidth = value;
        }
    }

    public int LineStyle
    {
        get
        {
            return lineStyle;
        }

        set
        {
            lineStyle = value;
        }
    }
}
